Automattic\Jetpack\Connection\Error_Handler C

Total Complexity 105
Dependencies 6
Dependents 3
Total lines 737
Lines of code 320
Logical lines of code 172
Comment lines 296
Methods 25
Properties 3

Methods 25

Method Rating Maintainability Complexity Lines of code
handle_verified_errors()
A
51 16 25
check_api_response_for_errors()
A
48 15 29
delete_all_api_errors()
A
49 12 30
generic_admin_notice_error()
S
52 6 23
store_error()
S
55 6 19
wp_error_to_array()
S
54 5 21
report_error()
S
65 6 8
should_report_error()
S
58 5 15
garbage_collector()
S
58 4 16
get_error_by_nonce()
S
63 4 11
get_user_id_from_token()
S
63 4 10
send_error_to_wpcom()
S
60 2 14
__construct()
S
62 2 11
register_verify_error_endpoint()
S
58 1 17
get_stored_errors()
S
67 2 8
get_verified_errors()
S
67 2 8
encrypt_data_to_wpcom()
S
66 2 8
verify_error()
S
64 2 10
verify_xml_rpc_error()
S
66 2 8
get_instance()
S
71 2 6
delete_all_errors()
S
78 1 4
delete_all_errors_and_return_unfiltered_value()
S
77 1 4
delete_stored_errors()
S
80 1 3
delete_verified_errors()
S
80 1 3
jetpack_react_dashboard_error()
S
65 1 9